var app = angular.module('myApp',[]);
	app.controller('menuCtrl', function($scope, $http) {
		$http({
			method : 'GET',
			url : '/sideMenu'
		}).then(function successCallback(response) {
			alert(JSON.stringify(response.data));
			$scope.menuItem = response.data;
			/*$scope.menuItem =[{"href":"/meta_eva_wsrc_info.html","name":"企业取水水源情况元数据","subs"},
				{"href":"/meta_eva_year_wuse_info.html","name":"企业年用水情况元数据"}]*/
		}, function errorCallback(response) {
//   			console.log(response)
//   			console.log('failer')
		});
		
		
	});
